CVE-2023-47118
Heap buffer overflow in T64 codec decompression
Description
ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the native interface exposed by default on port 9000/tcp, triggering a bug in the decompression logic of T64 codec that crashes the ClickHouse server process. This attack does not require authentication. Note that this exploit can also be triggered via HTTP protocol, however, the attacker will need a valid credential as the HTTP authentication take places first. This issue has been fixed in version 23.10.2.13-stable, 23.9.4.11-stable, 23.8.6.16-lts and 23.3.16.7-lts.
INFO
Published Date :
Dec. 20, 2023, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 8:29 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2023-47118
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | 
Solution
- There is no known solution at this time.
 
Public PoC/Exploit Available at Github
                                            CVE-2023-47118 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-47118.
                                        
| URL | Resource | 
|---|---|
| https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v | Vendor Advisory | 
| https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-47118 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-47118
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Toolkit for k8s administrators/developers.
Dockerfile Shell
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-47118 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-47118 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Initial Analysis by [email protected]
Jan. 04, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v No Types Assigned https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v Vendor Advisory Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:lts:*:*:* versions from (including) 23.3 up to (excluding) 23.3.16.7 *cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:lts:*:*:* versions from (including) 23.8 up to (excluding) 23.8.6.16 *cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 23.9 up to (excluding) 23.9.4.11 *cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* versions from (including) 23.10 up to (excluding) 23.10.2.13 *cpe:2.3:a:clickhouse:clickhouse_cloud:*:*:*:*:*:*:*:* versions up to (excluding) 23.9.2.47475  - 
                            
CVE Received by [email protected]
Dec. 20, 2023
Action Type Old Value New Value Added Description ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. A heap buffer overflow issue was discovered in ClickHouse server. An attacker could send a specially crafted payload to the native interface exposed by default on port 9000/tcp, triggering a bug in the decompression logic of T64 codec that crashes the ClickHouse server process. This attack does not require authentication. Note that this exploit can also be triggered via HTTP protocol, however, the attacker will need a valid credential as the HTTP authentication take places first. This issue has been fixed in version 23.10.2.13-stable, 23.9.4.11-stable, 23.8.6.16-lts and 23.3.16.7-lts. Added Reference GitHub, Inc. https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-g22g-p6q2-x39v [No types assigned] Added CWE GitHub, Inc. CWE-122 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H  
Vulnerability Scoring Details
Base CVSS Score: 9.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.39 }} 0.10%
score
0.58830
percentile